package cn.itcast.dewu.mapper;

import cn.itcast.dewu.pojo.Voucher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【tb_voucher】的数据库操作Mapper
* @createDate 2022-04-29 14:06:30
* @Entity cn.itcast.dewu.pojo.Voucher
*/
@Mapper
public interface VoucherMapper extends BaseMapper<Voucher> {

    List<Voucher> queryVoucherOfGoods(@Param("goodsId") Long goodsId);
}




